﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace DongFangGuoKai.WMSPlatform.Domain.Models
{
    ///<summary>
    ///
    ///</summary>
    [SugarTable("DBO.t_StationData")]
    public partial class t_StationData
    {
        public t_StationData()
        {


        }
        /// <summary>
        /// Desc:主键
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// Desc:站台ID
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int StationId { get; set; }

        /// <summary>
        /// Desc:站台编码
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string StationCode { get; set; }

        /// <summary>
        /// Desc:包装条码
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string PackageBarcode { get; set; }

        /// <summary>
        /// Desc:物料条码
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? Barcode { get; set; }

        /// <summary>
        /// Desc:物料Id
        /// Default:
        /// Nullable:False
        /// </summary>           
        public long MaterialId { get; set; }

        /// <summary>
        /// Desc:物料KeyID
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int MaterialKeyId { get; set; }

        /// <summary>
        /// Desc:批次号
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? BatchNO { get; set; }

        /// <summary>
        /// Desc:状态：0-未到位；1-已到位未放行；2-已放行
        /// Default:0
        /// Nullable:False
        /// </summary>           
        public int Status { get; set; }

        /// <summary>
        /// Desc:创建时间
        /// Default:DateTime.Now
        /// Nullable:True
        /// </summary>           
        public DateTime? CreateDate { get; set; }

        /// <summary>
        /// Desc:放行时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? FinishDate { get; set; }

        /// <summary>
        /// Desc:
        /// Default:0
        /// Nullable:True
        /// </summary>           
        public bool? IsPickIn { get; set; }

        /// <summary>
        /// Desc:
        /// Default:0
        /// Nullable:True
        /// </summary>           
        public bool? IsStocktake { get; set; }

        /// <summary>
        /// Desc:
        /// Default:0
        /// Nullable:True
        /// </summary>           
        public bool? IsArrived { get; set; }

        /// <summary>
        /// Desc:
        /// Default:0
        /// Nullable:True
        /// </summary>           
        public bool? IsStackFinished { get; set; }

    }
}
